/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tesam.gedeon.service;

import com.tesam.gedeon.entity.Account; 
import java.util.List;

/**
 *
 * @author Sistema
 */
public interface AccountService {
    
     public int getCountAll();
    
    public int getCountBySearch(Account account);
    
    public List<Account> getListByLimit(int startLimit, int endLimit, String dataToSort, String directionOfOrder);
    
    public List<Account> getListBySearch(int startLimit, int endLimit, String dataToSort, String directionOfOrder , Account account);
    
    public List<Account> getAccountById(Account account);
    
    public int save(Account account);
    
    public void update(Account account);
    
    public void delete(Account account);
    
    public String getJsonDataFromArrayList(List<Account> listAccount, int quantityRecord);
    
    public List<Account> getListByOwner(Account account);
    
}
